package com.zhijian.warehouse.manage.entity.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.zhijian.warehouse.manage.entity.vo.response.StoreInProductDetail;
import com.zhijian.warehouse.manage.entity.vo.response.StoreRecordProductVo;
import com.zhijian.warehouse.manage.enums.StoreEnum;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Objects;

/**
 * 入库记录
 *
 * @author auto
 * @version 1.0
 * @date 2024-10-20 21:42:59
 */
@Data
public class StoreInExport{

    @Excel(name = "序号", format = "isAddIndex")
    private Integer serial;

    @Excel(name = "入库单号", width = 20)
    private String number;

    @Excel(name = "产品明细" , width = 40)
    private String productDetail;

    @Excel(name = "已入库数")
    private BigDecimal realCount;

    @Excel(name = "入库仓库")
    private String warehouseName;

    @Excel(name = "制单人")
    private String createUserName;

    @Excel(name = "制单时间")
    private String createTime;

    @Excel(name = "单据状态", replace = {"草稿_0", "待审核_1", "已完成_2","已驳回_9", " _null"} )
    private Byte status;

    @Excel(name = "备注")
    private String note;

    private List<StoreInProductDetail> productDetailList;
}
